package pojo;

public class Student {
    private String sno;
    private String name;

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Student(String sno,String name)
    {
        this.sno=sno;
        this.name=name;
    }

    @Override
    public String toString() {
        return "sno"+":"+getSno()+"name"+":"+getName();
    }
}
